.class public Lcom/xingbook/ecloud/e/l;
.super Landroid/widget/RelativeLayout;


# instance fields
.field private a:Ljava/lang/String;

.field private b:Ljava/lang/String;

.field private c:F

.field private d:Ljava/lang/String;

.field private e:Lcom/xingbook/ecloud/e/s;

.field private f:Landroid/widget/ImageView;

.field private g:Lcom/xingbook/ui/s;

.field private h:Lcom/xingbook/ui/s;

.field private i:Landroid/widget/TextView;

.field private j:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;FLcom/xingbook/ecloud/e/s;)V
    .locals 1

    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/ecloud/e/l;->j:Z

    iput p2, p0, Lcom/xingbook/ecloud/e/l;->c:F

    iput-object p3, p0, Lcom/xingbook/ecloud/e/l;->e:Lcom/xingbook/ecloud/e/s;

    invoke-direct {p0}, Lcom/xingbook/ecloud/e/l;->a()V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ecloud/e/l;)Lcom/xingbook/ecloud/e/s;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ecloud/e/l;->e:Lcom/xingbook/ecloud/e/s;

    return-object v0
.end method

.method private a()V
    .locals 13

    const v12, 0xff35f

    const/16 v11, 0x13

    const v10, -0xcccccd

    const/4 v9, -0x1

    const/4 v8, 0x0

    invoke-virtual {p0, v9}, Lcom/xingbook/ecloud/e/l;->setBackgroundColor(I)V

    invoke-virtual {p0}, Lcom/xingbook/ecloud/e/l;->getContext()Landroid/content/Context;

    move-result-object v0

    const/high16 v1, 0x41d0

    iget v2, p0, Lcom/xingbook/ecloud/e/l;->c:F

    mul-float/2addr v1, v2

    float-to-int v1, v1

    const/high16 v2, 0x41b8

    iget v3, p0, Lcom/xingbook/ecloud/e/l;->c:F

    mul-float/2addr v2, v3

    float-to-int v2, v2

    const/high16 v3, 0x42da

    iget v4, p0, Lcom/xingbook/ecloud/e/l;->c:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    const/high16 v4, 0x4278

    iget v5, p0, Lcom/xingbook/ecloud/e/l;->c:F

    mul-float/2addr v4, v5

    float-to-int v4, v4

    new-instance v5, Landroid/widget/ImageView;

    invoke-direct {v5, v0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v5, p0, Lcom/xingbook/ecloud/e/l;->f:Landroid/widget/ImageView;

    new-instance v5, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v5, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iput v2, v5, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iput v1, v5, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v6, p0, Lcom/xingbook/ecloud/e/l;->f:Landroid/widget/ImageView;

    invoke-virtual {v6, v5}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v5, p0, Lcom/xingbook/ecloud/e/l;->f:Landroid/widget/ImageView;

    invoke-virtual {p0, v5}, Lcom/xingbook/ecloud/e/l;->addView(Landroid/view/View;)V

    div-int/lit8 v5, v2, 0x2

    add-int/2addr v3, v5

    add-int/2addr v3, v2

    new-instance v5, Lcom/xingbook/ui/s;

    invoke-virtual {p0}, Lcom/xingbook/ecloud/e/l;->getContext()Landroid/content/Context;

    move-result-object v6

    invoke-direct {v5, v6}, Lcom/xingbook/ui/s;-><init>(Landroid/content/Context;)V

    iput-object v5, p0, Lcom/xingbook/ecloud/e/l;->g:Lcom/xingbook/ui/s;

    iget-object v5, p0, Lcom/xingbook/ecloud/e/l;->g:Lcom/xingbook/ui/s;

    invoke-virtual {v5, v11}, Lcom/xingbook/ui/s;->setGravity(I)V

    iget-object v5, p0, Lcom/xingbook/ecloud/e/l;->g:Lcom/xingbook/ui/s;

    invoke-virtual {v5, v10}, Lcom/xingbook/ui/s;->setTextcolor(I)V

    iget-object v5, p0, Lcom/xingbook/ecloud/e/l;->g:Lcom/xingbook/ui/s;

    const/high16 v6, 0x4240

    iget v7, p0, Lcom/xingbook/ecloud/e/l;->c:F

    mul-float/2addr v6, v7

    invoke-virtual {v5, v6}, Lcom/xingbook/ui/s;->setTextsize(F)V

    new-instance v5, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v5, v9, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iput v1, v5, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iput v3, v5, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iput v2, v5, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I

    iget-object v3, p0, Lcom/xingbook/ecloud/e/l;->g:Lcom/xingbook/ui/s;

    invoke-virtual {v3, v5}, Lcom/xingbook/ui/s;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/xingbook/ecloud/e/l;->g:Lcom/xingbook/ui/s;

    invoke-virtual {p0, v3}, Lcom/xingbook/ecloud/e/l;->addView(Landroid/view/View;)V

    int-to-float v1, v1

    int-to-float v3, v4

    const/high16 v4, 0x4170

    iget v5, p0, Lcom/xingbook/ecloud/e/l;->c:F

    mul-float/2addr v4, v5

    add-float/2addr v3, v4

    add-float/2addr v1, v3

    float-to-int v1, v1

    const/high16 v3, 0x4298

    iget v4, p0, Lcom/xingbook/ecloud/e/l;->c:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    const/high16 v4, 0x4120

    iget v5, p0, Lcom/xingbook/ecloud/e/l;->c:F

    mul-float/2addr v4, v5

    float-to-int v4, v4

    const/high16 v5, 0x4150

    iget v6, p0, Lcom/xingbook/ecloud/e/l;->c:F

    mul-float/2addr v5, v6

    float-to-int v5, v5

    new-instance v6, Landroid/widget/TextView;

    invoke-direct {v6, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v6, p0, Lcom/xingbook/ecloud/e/l;->i:Landroid/widget/TextView;

    iget-object v6, p0, Lcom/xingbook/ecloud/e/l;->i:Landroid/widget/TextView;

    invoke-virtual {v6, v12}, Landroid/widget/TextView;->setId(I)V

    iget-object v6, p0, Lcom/xingbook/ecloud/e/l;->i:Landroid/widget/TextView;

    invoke-virtual {v6, v4, v8, v4, v8}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v4, p0, Lcom/xingbook/ecloud/e/l;->i:Landroid/widget/TextView;

    const/16 v6, 0x11

    invoke-virtual {v4, v6}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v4, p0, Lcom/xingbook/ecloud/e/l;->i:Landroid/widget/TextView;

    const v6, -0x666667

    invoke-virtual {v4, v6}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v4, p0, Lcom/xingbook/ecloud/e/l;->i:Landroid/widget/TextView;

    const/high16 v6, 0x4218

    iget v7, p0, Lcom/xingbook/ecloud/e/l;->c:F

    mul-float/2addr v6, v7

    invoke-virtual {v4, v8, v6}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v4, p0, Lcom/xingbook/ecloud/e/l;->i:Landroid/widget/TextView;

    new-instance v6, Lcom/xingbook/ecloud/e/m;

    invoke-direct {v6, p0}, Lcom/xingbook/ecloud/e/m;-><init>(Lcom/xingbook/ecloud/e/l;)V

    invoke-virtual {v4, v6}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v6, -0x2

    invoke-direct {v4, v6, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iput v1, v4, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    const/16 v6, 0xb

    invoke-virtual {v4, v6}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iput v5, v4, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I

    iget-object v5, p0, Lcom/xingbook/ecloud/e/l;->i:Landroid/widget/TextView;

    invoke-virtual {v5, v4}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v4, p0, Lcom/xingbook/ecloud/e/l;->i:Landroid/widget/TextView;

    invoke-virtual {p0, v4}, Lcom/xingbook/ecloud/e/l;->addView(Landroid/view/View;)V

    new-instance v4, Lcom/xingbook/ui/s;

    invoke-direct {v4, v0}, Lcom/xingbook/ui/s;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/xingbook/ecloud/e/l;->h:Lcom/xingbook/ui/s;

    iget-object v0, p0, Lcom/xingbook/ecloud/e/l;->h:Lcom/xingbook/ui/s;

    invoke-virtual {v0, v11}, Lcom/xingbook/ui/s;->setGravity(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/l;->h:Lcom/xingbook/ui/s;

    invoke-virtual {v0, v10}, Lcom/xingbook/ui/s;->setTextcolor(I)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/l;->h:Lcom/xingbook/ui/s;

    const/high16 v4, 0x4228

    iget v5, p0, Lcom/xingbook/ecloud/e/l;->c:F

    mul-float/2addr v4, v5

    invoke-virtual {v0, v4}, Lcom/xingbook/ui/s;->setTextsize(F)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v0, v9, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    invoke-virtual {v0, v8, v12}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    iget-object v1, p0, Lcom/xingbook/ecloud/e/l;->h:Lcom/xingbook/ui/s;

    invoke-virtual {v1, v0}, Lcom/xingbook/ui/s;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/l;->h:Lcom/xingbook/ui/s;

    invoke-virtual {p0, v0}, Lcom/xingbook/ecloud/e/l;->addView(Landroid/view/View;)V

    return-void
.end method

.method static synthetic b(Lcom/xingbook/ecloud/e/l;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ecloud/e/l;->a:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic c(Lcom/xingbook/ecloud/e/l;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ecloud/e/l;->b:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic d(Lcom/xingbook/ecloud/e/l;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/xingbook/ecloud/e/l;->j:Z

    return v0
.end method


# virtual methods
.method public a(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
    .locals 6

    const/4 v3, 0x0

    iput-object p1, p0, Lcom/xingbook/ecloud/e/l;->a:Ljava/lang/String;

    iput-object p2, p0, Lcom/xingbook/ecloud/e/l;->b:Ljava/lang/String;

    iput-boolean p7, p0, Lcom/xingbook/ecloud/e/l;->j:Z

    iput-object p6, p0, Lcom/xingbook/ecloud/e/l;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/xingbook/ecloud/e/l;->f:Landroid/widget/ImageView;

    const/4 v2, -0x1

    const/4 v5, 0x0

    move-object v0, p6

    move v4, v3

    invoke-static/range {v0 .. v5}, Lcom/xingbook/c/k;->a(Ljava/lang/String;Landroid/widget/ImageView;IZZF)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/l;->g:Lcom/xingbook/ui/s;

    invoke-virtual {v0, p4}, Lcom/xingbook/ui/s;->setTitle(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/l;->h:Lcom/xingbook/ui/s;

    invoke-virtual {v0, p5}, Lcom/xingbook/ui/s;->setTitle(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/ecloud/e/l;->i:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "\u5171"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\u8bfe>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method
